﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="SelectEventoAluno.aspx.cs" Inherits="AcademiaInteligenteWeb.SelectEventoAluno" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div>
    <table>
        <tr>
            <asp:DropDownList ID="ddlInstrutor" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlInstrutor_SelectedIndexChanged">
                    </asp:DropDownList>
        </tr>
        <tr>
             <asp:GridView ID="grdAlunosEvento" runat="server" AutoGenerateColumns="false" AllowPaging="true" >
                <AlternatingRowStyle CssClass="alterningRow" />
                <SelectedRowStyle CssClass="selectedRow" />
                <Columns>
                    <asp:BoundField DataField="cliente.Id" HeaderText="Cód. Cliente" />
                    <asp:BoundField DataField="cliente.Nome" HeaderText="Descrição Cliente" />
                    <asp:BoundField DataField="Id" HeaderText="Cód. Evento" />
                    <asp:BoundField DataField="Descricao" HeaderText="Descrição Evento" /> 
                    <asp:BoundField DataField="funcionario.Id " HeaderText="Cód. Instrutor" />
                    <asp:BoundField DataField="funcionario.Nome" HeaderText="Nome Instrutor" />
                    <asp:BoundField DataField="Data" HeaderText="Data" DataFormatString="{0:dd/MM/yyyy}" />
                </Columns>       
             </asp:GridView>
        </tr>
    </table>
    </div>
    
</asp:Content>